export interface NoticeType {
  noticeId: number
  title: string
  content: string
  author: string
  type: number
  isActive: boolean
  publishTime: string
  createTime: string
}

export interface NoticePageRes {
  list: NoticeType[]
  total: number
}

export interface NoticeParams {
  /*公告ID */
  noticeId?: number

  /*标题 */
  title: string

  /*内容 */
  content: string

  /*发布人 */
  author: string

  /*接受人类型 */
  type: number

  /*是否有效 */
  isActive: boolean
}

export interface BasePageQuery {
  pageNum: number
  pageSize: number
}
